package cn.bgs.service;

import cn.bgs.common.R;
import cn.bgs.pojo.Community;
import cn.bgs.vo.CommunitysVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 小区表 服务类
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
public interface ICommunityService extends IService<Community> {

    R findCommunity();

    R addCommunity(CommunitysVo community);

    R updateCommunity(CommunitysVo community);

    R delCommunity(Integer id);

    List<Community> appFindAllCommunity();
}
